package cn.levi.excel.configuration;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * excel工具的配置
 *
 * @author lei
 * @since 2024/11/20
 */
@ConfigurationProperties(prefix = "simple-tool.excel")
@Configuration
@Data
public class ExcellProperties {

	/**
	 * 要忽略的错误异常，用于导入数据时，将配置了次异常类型的报错展示给前端
	 */
	private Class<? extends Exception>[] ignoreExceptionCs=new Class[0];
}
